﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace Shop.Web.Controls
{
    public partial class BuyBtn : System.Web.UI.UserControl
    {
        private int groupId;
        private int prodId;

        public int GroupId
        {
            get { return groupId; }
            set { groupId = value; }
        }

        public int ProdId
        {
            get { return prodId; }
            set { prodId = value; }
        }

        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            //            if (ShopBasePage.CurrentCustomer == null)
            //                phLogin.Visible = true;
            //            else
            //            {
            //                phUser.Visible = true;
            //                lblLogin.Text = ShopBasePage.CurrentCustomer.FullName;
            //            }

            base.OnPreRender(e);
        }
    }
}